package com.rs.admin.sys.org.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

/**
 * <p>
 * 单位/组织表
 * </p>
 *
 * @author hedonglin
 * @since 2017-12-20
 */
@TableName("org_organization")
public class Organization extends Model<Organization> {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
	private Long id;
    /**
     * 单位简称
     */
	@TableField("jc_title")
	private String jcTitle;
    /**
     * 全称
     */
	@TableField("qc_title")
	private String qcTitle;
    /**
     * logo
     */
	private String logo;
    /**
     * 联系电话
     */
	private String telephone;
    /**
     * 单位地址
     */
	private String address;
    /**
     * 单位负责人
     */
	private String director;
    /**
     * 负责人电话
     */
	@TableField("director_mobile")
	private String directorMobile;
    /**
     * 单位联系人
     */
	private String contact;
    /**
     * 联系人电话
     */
	@TableField("contact_mobile")
	private String contactMobile;
    /**
     * 代码
     */
	private String code;
    /**
     * 邮编
     */
	@TableField("post_code")
	private String postCode;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getJcTitle() {
		return jcTitle;
	}

	public void setJcTitle(String jcTitle) {
		this.jcTitle = jcTitle;
	}

	public String getQcTitle() {
		return qcTitle;
	}

	public void setQcTitle(String qcTitle) {
		this.qcTitle = qcTitle;
	}

	public String getLogo() {
		return logo;
	}

	public void setLogo(String logo) {
		this.logo = logo;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getDirector() {
		return director;
	}

	public void setDirector(String director) {
		this.director = director;
	}

	public String getDirectorMobile() {
		return directorMobile;
	}

	public void setDirectorMobile(String directorMobile) {
		this.directorMobile = directorMobile;
	}

	public String getContact() {
		return contact;
	}

	public void setContact(String contact) {
		this.contact = contact;
	}

	public String getContactMobile() {
		return contactMobile;
	}

	public void setContactMobile(String contactMobile) {
		this.contactMobile = contactMobile;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getPostCode() {
		return postCode;
	}

	public void setPostCode(String postCode) {
		this.postCode = postCode;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "Organization{" +
			", id=" + id +
			", jcTitle=" + jcTitle +
			", qcTitle=" + qcTitle +
			", logo=" + logo +
			", telephone=" + telephone +
			", address=" + address +
			", director=" + director +
			", directorMobile=" + directorMobile +
			", contact=" + contact +
			", contactMobile=" + contactMobile +
			", code=" + code +
			", postCode=" + postCode +
			"}";
	}
}
